import Vuex from 'vuex'
import Vue from 'vue'
Vue.use(Vuex)
const store = new Vuex.Store({
    state: { count: 0 },
    mutations: {
        add (state, step) {
            state.count += step
        }
    }
})
export default store